package chapter03;
class String name;
private int age;
public Student(){
    System.out.println("实例化了一个新的Student对象");
        }
        public Student(String name,int age){
    this();
    this.name = name;
    this.age = age;
        }
        public Student read(){
    return "我是"+name+",年龄"+age+;
        }
        }
public class Example11 {
public static viod main(String[] args){
    Student stu = new Student("张三",18);
    SYstem.out.println(tsu.read());
}
}
